package com.hzeport.bgs22emduty.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.hzeport.bgs22emduty.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("EMDU_PARAM_LEADER")
@ApiModel(value = "参数-带班领导配置表")
public class ParamLeader extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "关区GUID，源自H4A")
    @TableField(value = "DEPT_ID")
    @JsonProperty(value = "deptId")
    private String deptId;

    @ApiModelProperty(value = "关区中文名称")
    @TableField(value = "CUSTOM_NAME")
    @JsonProperty(value = "customName")
    private String customName;

    @ApiModelProperty(value = "领导类型：1.关领导；2.处领导")
    @TableField(value = "LEADER_TYPE")
    @JsonProperty(value = "leaderName")
    private String leaderName;

    @ApiModelProperty(value = "带班领导海关员工号")
    @TableField(value = "LEADER_CODE")
    @JsonProperty(value = "leaderCode")
    private String leaderCode;

    @ApiModelProperty(value = "带班领导ID，关联人员信息表BASE_PERSON_INFO主键ID")
    @TableField(value = "LEADER_ID")
    @JsonProperty(value = "leaderId")
    private String leaderId;

    @ApiModelProperty(value = "带班年份")
    @TableField(value = "SCHEDULE_YEAR")
    @JsonProperty(value = "sYear")
    private Long sYear;

    @ApiModelProperty(value = "带班月份")
    @TableField(value = "SCHEDULE_MONTH")
    @JsonProperty(value = "sMonth")
    private Long sMonth;


}
